@echo off
REM syngen.bat - win32 batch wrapper to syngen
REM
REM Copyright 1999 Wind River Systems, Inc.
REM
REM modification history
REM --------------------
REM 01a,15jan99,fle  written
REM

REM
REM DESCRIPTION
REM This batch file is a wrapper to use the syngen facilty. This should generate
REM synopses file from the specified source files
REM

set WTXTCL=%WIND_BASE%\host\x86-win32\bin\wtxtcl.exe
set SYNGEN=%WIND_BASE%\host\resource\doctools\syngen.tcl
set ARGUMENTS=
:getnext
if "%1"=="" goto end
set ARGUMENTS=%ARGUMENTS% %1
shift
goto getnext
:end
@%WTXTCL% %SYNGEN% %ARGUMENTS%
